/**
 * 
 */
package org.cuatrovientos.exersice2;

import java.util.Scanner;

/**
 * Exersice two, page 28
 * @author daniel_ancin
 *
 */
public class IfExersice2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int number = 0;
		String line = ""; //To save what users introduce
		
		//Special object to read from console
		Scanner reader = new Scanner(System.in);
		
		System.out.println("Please enter a number");
		line = reader.nextLine();

		number = Integer.parseInt(line);
		
		switch (number%2) { 
		case 0:
			System.out.println("Par");
			break;
			
		case 1:
			System.out.println("Impar");
			break;
		}
	}

}
